package net.sppan.base.enumType;


/**
 *
 * 券码状态
 */
public enum CodeStatusTYpe {

    WeiLingQu("WeiLingQu","未领取"),
    LingQuWeiHeXiao("LingQuWeiHeXiao","领取未核销"),
    YiHeXiao("YiHeXiao","已核销");

    private String name;

    private String desc;


     CodeStatusTYpe(String name , String desc){
         this.name = name;
         this.desc = desc;
    }

    public static String getDescByName(String name){
         return CodeStatusTYpe.valueOf(name).desc;
    }

}
